﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Portal.API;
using ObjectPersistence;
using BusinessLayerHelper;
using KYO.DAL;

public partial class Modules_Mod_Menu_Menu : ModuleBase
{
    TabAssembler tabService = new TabAssembler();
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            LoadData();
        }
    }
    private void LoadData()
    {
        PersistentList<Tab> listTab = tabService.ReadCollection("Published='True' order by ViewOder");
        rp_Menus.DataSource = listTab;
        rp_Menus.DataBind();
    }
}
